package com.atguigu.edu.pubshier.utils;

import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.Date;

/**
 * @author: techyang
 * @since: 2023-10-16 21:25
 * @description: 日期格式化工具类
 **/
public class DateFormatUtil {

     public static Integer now() {
         String yyyyMMdd = DateFormatUtils.format(new Date(), "yyyyMMdd");
         return Integer.valueOf(yyyyMMdd);
     }
}
